<?php

if (!defined('BASEPATH'))
    exit('No direct script access allowed');

class Payment extends MY_Controller {

    public function __construct() {
        parent::__construct();
        $this->load->model('payment_mod');
        //$this->load->model('users_mod');
    }

    /**
     *   
     *    
     */
    public function index() {
        $data['title'] = lang('load_coins_title');
        $data['keywords'] = lang('load_coins_keywords');
        $data['description'] = lang('load_coins_description');
        
        
        
        $data['menu_active'] = "payment";
        // Definisi koji se view ucitava
        $data['contents'] = 'payment/home';
        $this->load->view('template/main', $data);
    }
   
    
    public function successful()
    {
      //echo "Success";
      redirect( base_url().'profile.htm' );
    }
    
    
}

?>
